from collections import OrderedDict
from random import randint

favorite_languages = OrderedDict()

favorite_languages['jen'] = 'python' 
favorite_languages['sarah'] = 'c' 
favorite_languages['edward'] = 'ruby' 
favorite_languages['phil'] = 'python'

for name, language in favorite_languages.items(): 
    print(name.title() + "'s favorite language is " +
        language.title() + ".")


class Die():
    """docstring for Die"""
    def __init__(self, sides):
        self.sides = sides

    def roll_die(self):
        print('random number is '+str(randint(1,self.sides)))


die = Die(20)
i = 1
while i <= 100:
    die.roll_die()
    print(i)
    i += 1
